home *** CD-ROM | disk | FTP | other *** search
/ ADA Programming Guide / ADA Programming Guide.iso / ada_gwu / slot.h < prev    next >
C/C++ Source or Header  |  1996-01-30  |  2KB  |  45 lines

  1. /*
  2.  * Copyright (C) 1985-1992  New York University
  3.  * 
  4.  * This file is part of the Ada/Ed-C system.  See the Ada/Ed README file for
  5.  * warranty (none) and distribution info and also the GNU General Public
  6.  * License for more details.
  7.  
  8.  */
  9. #ifndef __slot_h
  10. #define __slot_h
  11.  
  12. typedef struct Slot_s {
  13.     int    slot_seq;        /* sequence of symbol */
  14.     int    slot_unit;        /* unit of symbol */
  15.     int    slot_number;        /* slot number */
  16.     char    *slot_name;        /* name */
  17. #ifdef MONITOR
  18.     char    *slot_file;        /* file containing this source */
  19.     char    *slot_package;        /* file containing this source */
  20. #endif
  21.     } Slot_s;
  22.  
  23. typedef struct Slot_s *Slot;
  24.  
  25. /* structure returned by read_axq */
  26. typedef struct Axq_s {
  27.  
  28.     int        axq_cunits;         /* number of units */
  29.     int        axq_code_segments_dim;     /* dimension of code_segments */
  30.     char     **axq_code_segments;     /* code segments text */
  31.     int        *axq_code_seglen;       /* code segments length */
  32.     int        axq_data_segments_dim;     /* dimension of data_segments */
  33.     int        **axq_data_segments;     /* data segments text */
  34.     int        *axq_data_seglen;     /* data segments length */
  35.     int        axq_code_slots_dim;     /* dimension of code_slots */
  36.     Slot     *axq_code_slots;    /* code slots */
  37.     int        axq_data_slots_dim;    /* dimension of data_slots */ 
  38.     Slot     *axq_data_slots;    /* data slots */
  39.     int        axq_exception_slots_dim;/* dimension of exception slots */
  40.     Slot     *axq_exception_slots;    /* exception slots */
  41.      } Axq_s;
  42.  
  43. typedef struct Axq_s *Axq;
  44. #endif
  45.